# -*- coding: utf-8 -*-
# @Author  : haomh
# @Time    : 2025/10/25 14:44
# @Function:

name_list = ['Tom', 'Lily', 'Rose']
#
# i = 0
# while i < len(name_list):
#     print(name_list[i])
#     i += 1

for i in name_list:
    print(i)


'''
循环的嵌套
'''
big_name_list =[
['小明','小红','小绿'],
['Tom', 'Lily', 'Rose'],
['张三','李四','王五']]

print(big_name_list[2])
print(big_name_list[2][1])